Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-239116 | PHTN-67-000045 | SV-239116r675156_rule | Medium |
Description |
---|
Once an attacker establishes access to a system, the attacker often attempts to create a persistent method of reestablishing access. One way to accomplish this is for the attacker to modify an existing account. Auditing account modification actions provides logging that can be used for forensic purposes. Satisfies: SRG-OS-000239-GPOS-00089, SRG-OS-000303-GPOS-00120, SRG-OS-000304-GPOS-00121 |
STIG | Date |
---|---|
VMware vSphere 6.7 Photon OS Security Technical Implementation Guide | 2021-04-15 |
Check Text ( C-42327r675154_chk ) |
---|
At the command line, execute the following command: # auditctl -l | grep -E "(/etc/passwd|/etc/shadow|/etc/group|/etc/gshadow)" Expected result: -w /etc/passwd -p wa -k passwd -w /etc/shadow -p wa -k shadow -w /etc/group -p wa -k group -w /etc/gshadow -p wa -k gshadow If the output does not match the expected result, this is a finding. |
Fix Text (F-42286r675155_fix) |
---|
At the command line, execute the following commands: # echo '-w /etc/passwd -p w -k passwd' >> /etc/audit/rules.d/audit.STIG.rules # echo '-w /etc/shadow -p w -k shadow' >> /etc/audit/rules.d/audit.STIG.rules # echo '-w /etc/group -p w -k group' >> /etc/audit/rules.d/audit.STIG.rules # echo '-w /etc/gshadow -p w -k gshadow' >> /etc/audit/rules.d/audit.STIG.rules # /sbin/augenrules --load |